package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 推广员
 * @author Rongjie
 */
@Data
@TableName("mall_promoter")
@KeySequence(value = "mall_promoter_SEQ")
@ApiModel(value = "MallPromoter对象")
public class MallPromoter implements Serializable{

       private String appKey;

       @TableId(value = "promoter_key", type = IdType.UUID)
       private String promoterKey;

       @ApiModelProperty(value = "推广员姓名")
       private String promoterName;

       @ApiModelProperty(value = "状态: ACTIVE:有效")
       private String status;

       @ApiModelProperty(value = "备注")
       private String description;

       @ApiModelProperty(value = "UV统计", example = "1")
       private Integer statisUvCount;

       @ApiModelProperty(value = "注册统计", example = "1")
       private Integer statisRegCount;

       @ApiModelProperty(value = "进件统计", example = "1")
       private Integer statisAuthCount;

       @ApiModelProperty(value = "订单统计", example = "1")
       private Integer statisOrderCount;

       @ApiModelProperty(value = "订单金额统计")
       private BigDecimal statisOrderAmountCount;

       @ApiModelProperty(value = "官网价统计")
       private BigDecimal statisOrderOrinalAmountCount;

       private Date createTime;

       @ApiModelProperty(value = "绑定后台用户")
       private String bindAdminKey;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

       @ApiModelProperty(value = "下载量", example = "1")
       private Integer statisDownloadCount;

}
